import 'package:flutter/cupertino.dart';

/// FileName unconstrained_row
///
/// @Author lax
/// @Date 2024/6/13
///
/// @Description

class UnconstrainedRow extends LayoutBuilder {
  UnconstrainedRow({
    super.key,
    List<Widget>? Function(BuildContext context, BoxConstraints constraints)?
        childrenBuilder,
  }) : super(builder: (context, constraints) {
          return UnconstrainedBox(
            child: Row(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: childrenBuilder?.call(context, constraints) ?? [],
            ),
          );
        });
}
